{include file='index/header.html'}

<!-- 主体 -->
<div class="container">
    <div class="row">
        <!-- 左侧列表 -->
        <div class="col-md-8">
            <!-- 左侧顶部 -->
            <div class="panel panel-default">
                <div class="panel-body">
                    <!-- 页面描述栏 -->
                    <div class="row">
                        <div class="col-sm-2 col-md-2">
                            <img class="img-thumbnail" style="width:100%;max-height:100px;background-color:#f1f1f1;"
                                src="{if $page && $page.cover}{$page.cover}{else}data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='32' height='32' viewBox='0 0 32 32'%3E%3Cpath d='M29 18c2.281 0 1 6-1 6 1 0 0 5-2 5 0 2-2 3-4 3-8.448 0-5.477-2.114-14-3v-16c7.529-2.258 15-7.92 15-13 1.656 0 6 2 0 12 0 0 5 0 6 0 3 0 2 6 0 6zM6 13v16h2v1h-4c-1.1 0-2-1.35-2-3v-12c0-1.65 0.9-3 2-3h4v1h-2z'%3E%3C/path%3E%3C/svg%3E%0A{/if}"
                                alt="{if $page}{$page.title|strip_tags}{else}{$tran.unnamed}{/if}"
                                title="{if $page}{$page.title|strip_tags}{else}{$tran.unnamed}{/if}" />
                        </div>
                        <div class="col-sm-10 col-md-10">
                            <h1 style="margin-top: 0;">{if $page}{$page.title}{else}{$tran.unnamed}{/if} <span class="label label-info"><i id="page-counts">0</i> {$tran.articles}</span></h1>
                            <p class="well well-sm">{if $page && $page.description}{$page.description}{else}{$tran.no_description}{/if}</p>
                        </div>
                    </div>
                </div>
            </div>
            <!-- panel左侧列表 -->
            <div class="panel panel-default">
                <div class="panel-body" id="page-lists" data-slug="page-likes"></div>
            </div>
        </div>

        <!-- 右侧侧栏 -->
        {include file='index/sidebar.html'}
    </div>
</div>

{include file='index/footer.html'}